package com.it.mapper;

import com.it.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.Map;

/**
 * @author xuChangSong
 * @version 1.0.0
 * @ClassName UserMapper.java
 * @Description TODO
 * @createTime 2022年11月09日 15:03:00
 */
@Mapper
public interface UserMapper {

    public User getUserInfoById(String id);

    public int userConsumption(Map<String, Object> paramMap);

    public int userRefund(Map<String, Object> paramMap);




    /**
     *CREATE TABLE `user` (
     *   `id` varchar(10) NOT NULL,
     *   `userName` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '用户名称',
     *   `birthday` datetime DEFAULT NULL COMMENT '生日',
     *   `address` varchar(256) DEFAULT NULL COMMENT '地址',
     *   `balance` int DEFAULT NULL COMMENT '存款',
     *   `age` int DEFAULT NULL,
     *   PRIMARY KEY (`id`)
     * ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3
     *
     * */

}
